package com.example.service1.common.api;

import com.example.service1.common.api.entity.ResponseResult;
import com.example.service1.common.pojo.M1;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "m1-service",path = "/m1")
public interface M1Service {

    @GetMapping("/update/info")
    public ResponseResult<M1> updateM1();
}
